package com.bdc.memory.dao;

import com.bdc.memory.dao.impl.IRecordDaoImpl;
import com.bdc.memory.domain.RecordInfo;
import com.google.inject.ImplementedBy;

import java.util.List;

/**
 * User: shawn
 * Date: 2011-6-20
 * Time: 20:53:17
 */

@ImplementedBy(IRecordDaoImpl.class)
public interface IRecordDao {

    public long addRecord(RecordInfo info);

    public void delRecord(long recordId);

    public RecordInfo getRecord(long recordId);

    public List<RecordInfo> getRecordList(long userId, String tag);

    public List<RecordInfo> getRecordList(long userId, String tag, long from, long count);
}
